﻿@model AP.Framework.Infrastructure.Entities.cms_Contact
<script type="text/javascript">
    $(function () {
        $('#Content').xheditor({ upLinkUrl: "/Admin/ContactUs/Upload",
            upLinkExt: "zip,rar,txt",
            upImgUrl: "/Admin/ContactUs/Upload",
            upImgExt: "jpg,jpeg,gif,png"
        });
    });      
</script>
@Html.ValidationSummary(true)
<div class="control-group">
    <label class="control-label">
        地址</label>
    <div class="controls">
        @Html.TextAreaFor(model => model.Address, new { @placeholder = "地址" })
        @Html.ValidationMessageFor(model => model.Address)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        联系人</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.ContactPerson, new { @placeholder = "联系人" })
        @Html.ValidationMessageFor(model => model.ContactPerson)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        座机</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.Tel, new { @placeholder = "电话" })
        @Html.ValidationMessageFor(model => model.Tel)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        传真</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.Fax, new { @placeholder = "传真" })
        @Html.ValidationMessageFor(model => model.Fax)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        手机</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.Phone, new { @placeholder = "手机" })
        @Html.ValidationMessageFor(model => model.Phone)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        邮箱</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.Email, new { @placeholder = "邮箱" })
        @Html.ValidationMessageFor(model => model.Email)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        QQ</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.QQ, new { @placeholder = "qq" })
        @Html.ValidationMessageFor(model => model.QQ)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        MSN</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.Msn, new { @placeholder = "MSN" })
        @Html.ValidationMessageFor(model => model.Msn)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        邮编</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.ZipCode, new { @placeholder = "邮编" })
        @Html.ValidationMessageFor(model => model.ZipCode)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        账户</label>
    <div class="controls">
        @Html.TextBoxFor(model => model.Account, new { @placeholder = "账户" })
        @Html.ValidationMessageFor(model => model.Account)
    </div>
</div>
<div class="control-group">
    <label class="control-label">
        描述</label>
    <div class="controls">
        @Html.TextAreaFor(model => model.Content, new { @placeholder = "描述", style = "width:100%; height:500px;" })
        @Html.ValidationMessageFor(model => model.Content)
    </div>
</div>
<div class="control-group">
    <div class="controls">
        <button type="submit" class="btn">
            保 存</button>
    </div>
</div>
